import {observable,action} from "mobx"
import {fromJS} from "immutable"

class MobxData{
    @observable count = 2000;
    @observable data = fromJS({})

    @action changeCount = payload=>{
      this.count+=payload 
    }
}

export default new MobxData()